<%@page contentType="text/html;charset=UTF-8"%>
<%@include file="/common/commonTag.jsp"%>
<html>
	<head>
		<title>树状菜单管理</title>
		<meta http-equiv="content-type" content="text/html; charset=UTF-8">
		<link rel="stylesheet" href="${path}/css/backsys/ctx.css">
		<link rel="stylesheet" type="text/css" href="${path}/js/util/confirmer/confir.css"/>
		<script type="text/javascript" src="${path}/js/jquery.js"></script>
		<script language="javascript" type="text/javascript" src="${path}/DateUtil/WdatePicker.js"></script>
		<script type="text/javascript" src="${path}/js/util/confirmer/jquery-impromptu.3.1.min.js"></script>
		<script type="text/javascript" src="${path}/js/backsys/sysutil.js"></script>
		
		<link rel="stylesheet" href="${path}/js/dhtmlx/dhtmlxTree/css/style.css" type="text/css" media="screen" />
		<link rel="stylesheet" type="text/css" href="${path}/js/dhtmlx/dhtmlxTree/dhtmlxtree.css">
		<script src="${path}/js/dhtmlx/dhtmlxcommon.js"></script>
		<script src="${path}/js/dhtmlx/dhtmlxTree/dhtmlxtree.js"></script>	
		
		
<link rel="stylesheet" type="text/css" href="${path}/js/dhtmlx/dhtmlxWindows/dhtmlxwindows.css">
<link rel="stylesheet" type="text/css" href="${path}/js/dhtmlx/dhtmlxWindows/skins/dhtmlxwindows_dhx_skyblue.css">
<script src="${path}/js/dhtmlx/dhtmlxWindows/dhtmlxcommon.js"></script>
<script src="${path}/js/dhtmlx/dhtmlxWindows/dhtmlxwindows.js"></script>
<script src="${path}/js/dhtmlx/dhtmlxWindows/dhtmlxcontainer.js"></script>
		
		
	</head>
	<body>
		<div class="ctx">
		
		<div>
<table>
    <tr>
        <td>Select URL</td>
        <td><select id="sel"><option>http://www.google.com/</option><option>http://www.yahoo.com/</option></select></td>
        <td><input type="button" value="Attach URL" onclick="attachURL();"><input type="button" value="打开窗体" onclick="doOnLoad();"></td>
    </tr>
</table>
</div>
<div id="winVP" style="position: relative; height: 200px; border: #cecece 1px solid; margin: 10px;"></div>
<script>
var dhxWins,w1;
function doOnLoad() {
    dhxWins = new dhtmlXWindows();
    dhxWins.enableAutoViewport(false);
    dhxWins.attachViewportTo("winVP");
    dhxWins.setImagePath("../../codebase/imgs/");
    w1 = dhxWins.createWindow("w1", 20, 30, 320, 240);
    w1.setText("dhtmlxWindow");
    w1.button("close").disable();
}
function attachURL() {
    var obj = document.getElementById("sel");
    var url = obj.options[obj.selectedIndex].firstChild.nodeValue;
    w1.setText(url);
    w1.attachURL(url);
}
</script>
			
		</div>
	</body>
</html>
							
							
							
